FROM alpine
LABEL maintainer="luonancom@qq.com"
 
ARG work=/var/www/API 
RUN mkdir -p ${work}
WORKDIR ${work}
COPY  ./conf/setting_docker.conf ./conf/setting.conf
COPY  ./conf/app_docker.conf ./conf/app.conf
COPY  --chown=root ./SptcAPI .
ENV PATH="${work}:${PATH}"
EXPOSE 8080
ENTRYPOINT ["./EduAPI"]




